print-editor: Icon credits
authorMatthias Clasen <mclasen@redhat.com>
Mon, 10 Aug 2020 00:30:00 +0000 (20:30 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 10 Aug 2020 00:30:00 +0000 (20:30 -0400)
Give the artist credits.

demos/print-editor/print-editor.c

index 892fc152a2187268ada0c78a056fd7bdc44c530c..416ff9db31946993e24ee69d8a845c00dc7ae4d9 100644 (file)
@@ -604,6 +604,10 @@ activate_about (GSimpleAction *action,
     "Alexander Larsson",
     NULL
   };
+  const char *artists[] = {
+    "Jakub Steiner",
+    NULL
+  };
   const char *maintainers[] = {
     "The GTK Team",
     NULL
@@ -656,6 +660,8 @@ activate_about (GSimpleAction *action,
                          "title", "About GTK Print Editor",
                          "system-information", sysinfo->str,
                          NULL);
+  gtk_about_dialog_add_credit_section (GTK_ABOUT_DIALOG (dialog),
+                                       _("Artwork by"), artists);
   gtk_about_dialog_add_credit_section (GTK_ABOUT_DIALOG (dialog),
                                        _("Maintained by"), maintainers);
 
@@ -663,6 +669,8 @@ activate_about (GSimpleAction *action,
 
   g_string_free (sysinfo, TRUE);
   g_free (version);
+  g_free (os_name);
+  g_free (os_version);
 }
 
 static void